<?php

class Empeval_Methods_Response_GetRejections {
	
	/**
	 *
	 * @var Empeval_Methods_Data_ResponseStatus
	 */
	public $responseStatus;
	
	/**
	 * 
	 * @var Empeval_Methods_Data_Reject[]
	 */
	public $rejections;
	
	public function __construct($status, $rejections) {
		$this->responseStatus = new Empeval_Methods_Data_ResponseStatus($status);
		foreach ($rejections as $reject) {
			$this->rejections[] = new Empeval_Methods_Data_RejectListItem($reject);
		}
	}
	
}